﻿using System.Collections.Generic;
using Foothill.DataAccess.Interface;

namespace Foothill.DataAccess.Repository
{
    public class VehicleInfoRepoStub 
    {
        public Dictionary<int, string> GetVehicleMakes()
        {
            Dictionary<int, string> result = new Dictionary<int, string>();

            result.Add( 1, "ACURA");
            result.Add( 2, "TOYOTA");
            result.Add( 3, "FORD");
            result.Add( 4, "VOLKSWAGEN");

            return result;
        }
        
        public Dictionary<int, string> GetVehicleModels(int makeId)
        {
            Dictionary<int, string> result = new Dictionary<int, string>();

            switch (makeId)
            {
                case 1:
                    result.Add(1,"1.7 EL");
                    result.Add(2, "RSX");
                    break;
                case 2:
                    result.Add(3, "YARIS");
                    result.Add(4, "CAMRY");
                    break;
                case 3:
                    result.Add(5, "Taurus");
                    result.Add(6, "MUSTANG");
                    break;
                case 4:
                    result.Add(7, "JETTA");
                    result.Add(8, "RABBIT");
                    break;
                default:
                    result.Add(0, "Please Select");
                    break;
            }

            return result;
        }

        public Dictionary<int, string> GetTransmissionTypes()
        {
            Dictionary<int, string> result = new Dictionary<int, string>();

            result.Add(2, "手动");
            result.Add(3, "自动");

            return result;
        }

        public Dictionary<int, string> GetVehicleConditions()
        {
            Dictionary<int, string> result = new Dictionary<int, string>();

            result.Add(1, "全新");
            result.Add(2, "二手");

            return result;
        }

        public Dictionary<int, string> GetListingTypes()
        {
            Dictionary<int, string> result = new Dictionary<int, string>();

            result.Add(1, "车行");
            result.Add(2, "车主");

            return result;
        }
    }
}
